package com.taobaolite.order;

public enum OrderStatus {
    CREATED     (0), // 已创建
    PAID        (1), // 已支付
    SHIPPED     (2), // 已出货
    ARRIVED     (3), // 已送达
    RECEIVED    (4), // 已收货
    RECEIVING   (5), // 收货协商中
    COMPLETED   (6), // 已完成
    REFUNDING   (7), // 退货退款中
    FAIL_PAID	(8),	//支付失败
    FAIL_SHIP	(9),   //无法出货
    FAIL_ARRIVE	(10),	//无法送达
    FAIL_RECEIVE(11),	//无法收货
    REFUNDED	(12);   //已退货
    private final int status;

    public int getStatus() {
        return status;
    }

    OrderStatus(int status) {
        this.status = status;
    }
}
